package com.shoux.api.web.entity.apiData;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 智慧金服_企业信息表
 * </p>
 *
 * @author xiaoZhi
 * @since 2022-03-25
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("enterpriseinfo")
@ApiModel(value="EnterpriseinfoEntity对象", description="智慧金服_企业信息表")
public class EnterpriseinfoEntity extends Model<EnterpriseinfoEntity> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "企业名称")
    private String enterpriseName;

    @ApiModelProperty(value = "企业简称")
    private String enterpriseAbbreviation;

    @ApiModelProperty(value = "工商注册地址")
    private String registeredAddress;

    @ApiModelProperty(value = "实际经营地址")
    private String operatingAddress;

    @ApiModelProperty(value = "登记机关")
    private String registrationAuthority;

    @ApiModelProperty(value = "所属行业")
    private String industry;

    @ApiModelProperty(value = "公司官网")
    private String website;

    @ApiModelProperty(value = "融资人姓名")
    private String financingContacts;

    @ApiModelProperty(value = "融资人固定电话")
    private String contactsTelphone;

    @ApiModelProperty(value = "融资人手机")
    private String contactsPhone;

    @ApiModelProperty(value = "融资人邮箱")
    private String contactsMailbox;

    @ApiModelProperty(value = "统一社会信用代码")
    private String uniscid;

    @ApiModelProperty(value = "法人")
    private String legalPerson;

    @ApiModelProperty(value = "法人手机号")
    private String legalPhone;

    @ApiModelProperty(value = "法人证件号")
    private String legalCode;

    @ApiModelProperty(value = "对公银行账号")
    private String bankAccount;

    @ApiModelProperty(value = "开户行")
    private String openingBank;

    @ApiModelProperty(value = "企业所属地")
    private String enterpriseTerritory;

    @ApiModelProperty(value = "企业简介")
    private String enterpriseSynopsis;

    @ApiModelProperty(value = "经营范围")
    private String scopeBusiness;

    @ApiModelProperty(value = "融资人身份证号")
    private String contactsCode;

    @ApiModelProperty(value = "融资人职位")
    private String contactsPosition;

    @ApiModelProperty(value = "认证材料1")
    private String materialUrl1;

    @ApiModelProperty(value = "认证材料2")
    private String materialUrl2;

    @ApiModelProperty(value = "认证材料3")
    private String materialUrl3;

    @ApiModelProperty(value = "认证材料4")
    private String materialUrl4;

    @ApiModelProperty(value = "0：审核通过  1：审核未通过 2：未审核")
    private String isAuditing;

    @ApiModelProperty(value = "0：已认证 1：未认证")
    private String isAuthentication;

    @ApiModelProperty(value = "0：已删除 1：未删除")
    private String isDel;

    @ApiModelProperty(value = "企业账号")
    private String enterpriseUsername;

    @ApiModelProperty(value = "企业密码")
    private String enterprisePassword;

    @ApiModelProperty(value = "账号创建时间")
    private LocalDateTime inDate1;

    @ApiModelProperty(value = "申请认证时间")
    private LocalDateTime inDate2;

    @ApiModelProperty(value = "审核日期")
    private LocalDateTime inDate3;

    @ApiModelProperty(value = "审核未通过原因")
    private String auditingRemark;

    @ApiModelProperty(value = "二维码验证")
    private String flag;

    @ApiModelProperty(value = "手机号码登录")
    private String phoneNumber;

    @ApiModelProperty(value = "审核明细名目（格式：0,0,0,1,0）")
    private String auditiDetail;

    @ApiModelProperty(value = "审核明细信息说明")
    private String auditiDetailRemark;

    @ApiModelProperty(value = "企业类型字段  （1：大型企业2：中型企业 3：小微企业）")
    private String enterpriseType;

    @ApiModelProperty(value = "是否疫情相关企业（0：是 1：否）  ")
    private String isSituation;

    @ApiModelProperty(value = "与股权服务平台同步状态：（800：同步成功；808：企业信息已同步过；809：同步失败；810：同步确认；811：同步拒绝；812：同步通讯失败；8091：企业数据不存在；8092：手机号（phone_number）已在股权平台存在；8093：鉴权失败；8094：未知错误）")
    private String synchroState;

    @ApiModelProperty(value = "企业管护人id")
    private String managerId;


    @Override
    protected Serializable pkVal() {
        return this.id;
    }

}
